package it.tukano.jpgi.test;

import it.tukano.reflection.MethodExt;
import it.tukano.swingdeco.containers.JFrameExt;
import it.tukano.swingdeco.table.JTableExt;
import java.awt.BorderLayout;

public class Main {

    public static void main(final String[] args) {
        new MethodExt(new Main(), "start").callOnEdt();
    }
    
    public void start() {
        JTableExt table = new JTableExt(5, 5).withDefaultTextEditorPopupMenu();
        JFrameExt frame = new JFrameExt()
                .append(table.getScroller(), BorderLayout.CENTER)
                .defaultDispose()
                .packAndShow();
    }
}
